/**
 * @license Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	
	config.width = 800;
	config.height = 400;
	
	// Source: 源码; Save:保存; NewPage:新建; Preview:预览; Print:打印; Templates: 模板
	// Cut:剪切; Copy:复制; Paste:粘贴; PasteText:粘贴为无格式文本; PasteFromWord:从 MS WORD 粘贴
	// Undo:撤销; Redo:重做
	// Find:查找; Replace:替换; SelectAll:全选
	// Bold:加粗; Italic:倾斜; Underline:下划线; Strike:删除线; Subscript:下标; Superscript:上标; RemoveFormat:清除格式
	// NumberedList:编号列表; BulletedList:项目列表; Outdent:减少缩进量; Indent:增加缩进量
	// JustifyLeft: 左对齐; JustifyCenter:居中; JustifyRight:右对齐; JustifyBlock:两端对齐; BidiLtr:文字方向从左到右; BidiRtl:文字方向从右到左
	// Link:插入超链接; Unlink:取消超链接; Anchor:插入/编辑锚点链接
	// Image:图像(上传); Flash:动画(上传); Table:表格; HorizontalRule:插入水平线;
	// Smiley:插入表情; SpecialChar:插入特殊符号; PageBreak:插入分页符;
	// Styles:样式快捷方式
	// Format:文本格式; Font:字体; FontSize：文字大小; TextColor:文字颜色; BGColor:背景颜色
	// Maximize:全屏编辑模式; ShowBlocks = 显示区块
	config.toolbar_MyNormal = [
	    ['Source', '-', 'Preview'],
	    ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'],
	    ['Find', 'Replace', 'SelectAll'],
	    ['Link', 'Unlink', 'Anchor'],
        ['Image', 'Table', 'HorizontalRule', 'SpecialChar'],
	    //'/',
        ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'],
        ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'BidiLtr', 'BidiRtl'],
        //'/',
        ['Styles'],
        ['Format'],
        ['Font', 'FontSize', 'TextColor', 'BGColor'],
        ['Maximize', 'ShowBlocks']
    ];
	
	config.toolbar_MyNormal1 = [
	    ['Source', '-', 'Preview'],
	    ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'],
	    ['Find', 'Replace', 'SelectAll'],
	    ['Link', 'Unlink', 'Anchor'],
	    ['HorizontalRule', 'SpecialChar'],
	    '/',
	    ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'],
	    ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'BidiLtr', 'BidiRtl'],
	    '/',
	    ['Format'],
	    ['Font', 'FontSize', 'TextColor', 'BGColor']
	];
	
	config.toolbar_MySample = [
        ['Bold', 'Italic', 'Underline', 'Strike', '-', 'RemoveFormat']
	];
};
